All Questions
3 questions
33votes
3answers
5kviews
Error handling considerations
The problem: Since long time, I am worried about the exceptions mechanism, because I feel it does not really resolve what it should. CLAIM: There are long debates outside about this topic, and most ...
3votes
2answers
2kviews
Augment a thrown exception with some contextual information
The application this question is about is basically a transpiler which contains a lot of logic. The transpiler is written in C++ (which should not be much of relevance for this question), and it ...
0votes
6answers
1kviews
Should we only catch in exceptional circumstances?
Whether error handling by throwing exceptions is good or bad is contentious. Are exceptions as control flow considered a serious antipattern? If so, Why? The common line is that exceptions are for "...